'use strict';

module.exports = app => {
    const { STRING, INTEGER } = app.Sequelize;

    const Config = app.model.define('config', {
        id:{
            type:INTEGER,
            primaryKey:true,
            autoIncrement: true,
        },
        name: STRING(20),
        value: STRING(512),
        inc_type: STRING(20),
        desc:STRING(50),
    });
    return Config;
};